package com.cxmx.escort.service.Impl;

        import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
        import com.baomidou.mybatisplus.core.metadata.IPage;
        import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
        import com.cxmx.escort.entity.BedOrder;
        import com.cxmx.escort.mapper.BedOrderMapper;
        import com.cxmx.escort.service.IBedOrderService;
        import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
        import org.springframework.stereotype.Service;

/**
 * <p>
 * 充值表 服务实现类
 * </p>
 *
 * @author 陈云轩
 * @since 2019-10-21
 */
@Service
public class BedOrderServiceImpl extends ServiceImpl<BedOrderMapper, BedOrder> implements IBedOrderService {

    @Override
    public IPage<BedOrder> pageOrder(Page<BedOrder> page, QueryWrapper<BedOrder> qw) {
        return this.baseMapper.pageOrder(page,qw);
    }

    @Override
    public Double countPrice(QueryWrapper<BedOrder> qw) {
        return this.baseMapper.countPrice(qw);
    }
}
